package tcc.wa.presenter.datasource;

import java.util.ArrayList;
import java.util.List;

import tcc.wa.model.AlertType;

/**
 * Data source class for alert types.
 */
public class AlertTypeDataSource {

	private List<AlertType> alertTypes;
	
	public AlertTypeDataSource() {
		alertTypes = new ArrayList<AlertType>();
		alertTypes.add(AlertType.HIGH_TEMPERATURE);
		alertTypes.add(AlertType.LOW_TEMPERATURE);
		alertTypes.add(AlertType.RAIN);
	}
	
	/**
	 * Returns all alert types.
	 *
	 * @return the list containing all alert types
	 */
	public List<AlertType> Select() {
		return alertTypes;
	}
}